<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../jquery/jquery-3.6.0.js"></script>
    <style>

        div{
            background: lightcoral ;
            height: 100px;
            width: 100px;
            position: absolute
        }
    </style>
</head>
<body>
    <button>开始动画</button>
    <br><br>
    <div>hellow</div>
    <script>
        $(document).ready(function(){
            $("button").click(function(){
                $("div").animate({left:'100px',opacity:'0.5',width:'+=50px'},1000),
                $("div").animate({height:'toggle'},"slow");
                $("div").animate({fontSize:'3em',height:'+=50px',opacity:'0.8'},"slow");
            })
        })
    </script>
</body>
</html>